package com.ziyun.pop.modules.storeMember.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户基础信息表
 * 
 * @author 
 * @email 
 * @date 2018-08-01 09:31:39
 */
@TableName("user_base_info")
public class UserBaseInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@TableId(type = IdType.AUTO)
	private Integer userId;
	/**
	 * 姓名(公司名称)
	 */
	private String name;
	/**
	 * 用户昵称(门店联系人)
	 */
	private String nickname;
	/**
	 * 供应商ID
	 */
	private Integer supplierId;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 手机
	 */
	private String mobile;
	/**
	 * 固定电话
	 */
	private String tel;
	/**
	 * EMAIL
	 */
	private String email;
	/**
	 * 邮编
	 */
	private String zip;
	/**
	 * 生日
	 */
	private Date birthday;
	/**
	 * 性别
	 */
	private Integer sex;
	/**
	 * 婚姻状况
	 */
	private Integer wedlock;
	/**
	 * 教育程度
	 */
	private String education;
	/**
	 * 职业
	 */
	private String vocation;
	/**
	 * 扩展信息里的爱好
	 */
	private String interest;
	/**
	 * 头像
	 */
	private String header;
	/**
	 * 头像缩略图
	 */
	private String thumbHeader;
	/**
	 * 注册时IP地址
	 */
	private String regIp;
	/**
	 * 注册时间
	 */
	private Integer regtime;
	/**
	 * 货币(偏爱货币)
	 */
	private String currency;
	/**
	 * 平台来源
	 */
	private String userSource;
	/**
	 * 推荐码
	 */
	private Integer recommendCode;
	/**
	 * 行业
	 */
	private String industry;
	/**
	 * 常用物料
	 */
	private String materiel;
	/**
	 * 用户类型
	 */
	private String userType;
	/**
	 * 是否是水军
	 */
	private Integer water;
	/**
	 * 业务员ID（信用账单）
	 */
	private String salesmanId;
	/**
	 * 回款周期（信用账单）
	 */
	private Integer periodDay;

	//会员等级ID
	@TableField(exist = false)
	private Integer memberLvId;
	//等级名称
	@TableField(exist = false)
	private String memberName;
	//积分
	@TableField(exist = false)
	private Integer point;
	//预付款
	@TableField(exist = false)
	private BigDecimal advance;
	//信用额
	@TableField(exist = false)
	private Integer creditUse;
	//经验值
	@TableField(exist = false)
	private Integer experience;
	//备注
	@TableField(exist = false)
	private String remark;

	public Integer getMemberLvId() {
		return memberLvId;
	}

	public void setMemberLvId(Integer memberLvId) {
		this.memberLvId = memberLvId;
	}

	public String getMemberName() {
		return memberName;
	}

	public void setMemberName(String memberName) {
		this.memberName = memberName;
	}

	public Integer getPoint() {
		return point;
	}

	public void setPoint(Integer point) {
		this.point = point;
	}

	public BigDecimal getAdvance() {
		return advance;
	}

	public void setAdvance(BigDecimal advance) {
		this.advance = advance;
	}

	public Integer getCreditUse() {
		return creditUse;
	}

	public void setCreditUse(Integer creditUse) {
		this.creditUse = creditUse;
	}

	public Integer getExperience() {
		return experience;
	}

	public void setExperience(Integer experience) {
		this.experience = experience;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 设置：用户id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	/**
	 * 获取：用户id
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 * 设置：姓名(公司名称)
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取：姓名(公司名称)
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置：用户昵称(门店联系人)
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * 获取：用户昵称(门店联系人)
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * 设置：供应商ID
	 */
	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	/**
	 * 获取：供应商ID
	 */
	public Integer getSupplierId() {
		return supplierId;
	}

	/**
	 * 设置：地址
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * 获取：地址
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * 设置：手机
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取：手机
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * 设置：固定电话
	 */
	public void setTel(String tel) {
		this.tel = tel;
	}

	/**
	 * 获取：固定电话
	 */
	public String getTel() {
		return tel;
	}

	/**
	 * 设置：EMAIL
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * 获取：EMAIL
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * 设置：邮编
	 */
	public void setZip(String zip) {
		this.zip = zip;
	}

	/**
	 * 获取：邮编
	 */
	public String getZip() {
		return zip;
	}

	/**
	 * 设置：生日
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	/**
	 * 获取：生日
	 */
	public Date getBirthday() {
		return birthday;
	}

	/**
	 * 设置：性别
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	/**
	 * 获取：性别
	 */
	public Integer getSex() {
		return sex;
	}

	/**
	 * 设置：婚姻状况
	 */
	public void setWedlock(Integer wedlock) {
		this.wedlock = wedlock;
	}

	/**
	 * 获取：婚姻状况
	 */
	public Integer getWedlock() {
		return wedlock;
	}

	/**
	 * 设置：教育程度
	 */
	public void setEducation(String education) {
		this.education = education;
	}

	/**
	 * 获取：教育程度
	 */
	public String getEducation() {
		return education;
	}

	/**
	 * 设置：职业
	 */
	public void setVocation(String vocation) {
		this.vocation = vocation;
	}

	/**
	 * 获取：职业
	 */
	public String getVocation() {
		return vocation;
	}

	/**
	 * 设置：扩展信息里的爱好
	 */
	public void setInterest(String interest) {
		this.interest = interest;
	}

	/**
	 * 获取：扩展信息里的爱好
	 */
	public String getInterest() {
		return interest;
	}

	/**
	 * 设置：头像
	 */
	public void setHeader(String header) {
		this.header = header;
	}

	/**
	 * 获取：头像
	 */
	public String getHeader() {
		return header;
	}

	/**
	 * 设置：头像缩略图
	 */
	public void setThumbHeader(String thumbHeader) {
		this.thumbHeader = thumbHeader;
	}

	/**
	 * 获取：头像缩略图
	 */
	public String getThumbHeader() {
		return thumbHeader;
	}

	/**
	 * 设置：注册时IP地址
	 */
	public void setRegIp(String regIp) {
		this.regIp = regIp;
	}

	/**
	 * 获取：注册时IP地址
	 */
	public String getRegIp() {
		return regIp;
	}

	/**
	 * 设置：注册时间
	 */
	public void setRegtime(Integer regtime) {
		this.regtime = regtime;
	}

	/**
	 * 获取：注册时间
	 */
	public Integer getRegtime() {
		return regtime;
	}

	/**
	 * 设置：货币(偏爱货币)
	 */
	public void setCurrency(String currency) {
		this.currency = currency;
	}

	/**
	 * 获取：货币(偏爱货币)
	 */
	public String getCurrency() {
		return currency;
	}

	/**
	 * 设置：平台来源
	 */
	public void setUserSource(String userSource) {
		this.userSource = userSource;
	}

	/**
	 * 获取：平台来源
	 */
	public String getUserSource() {
		return userSource;
	}

	/**
	 * 设置：推荐码
	 */
	public void setRecommendCode(Integer recommendCode) {
		this.recommendCode = recommendCode;
	}

	/**
	 * 获取：推荐码
	 */
	public Integer getRecommendCode() {
		return recommendCode;
	}

	/**
	 * 设置：行业
	 */
	public void setIndustry(String industry) {
		this.industry = industry;
	}

	/**
	 * 获取：行业
	 */
	public String getIndustry() {
		return industry;
	}

	/**
	 * 设置：常用物料
	 */
	public void setMateriel(String materiel) {
		this.materiel = materiel;
	}

	/**
	 * 获取：常用物料
	 */
	public String getMateriel() {
		return materiel;
	}

	/**
	 * 设置：用户类型
	 */
	public void setUserType(String userType) {
		this.userType = userType;
	}

	/**
	 * 获取：用户类型
	 */
	public String getUserType() {
		return userType;
	}

	/**
	 * 设置：是否是水军
	 */
	public void setWater(Integer water) {
		this.water = water;
	}

	/**
	 * 获取：是否是水军
	 */
	public Integer getWater() {
		return water;
	}


	/**
	 * 设置：业务员ID（信用账单）
	 */
	public void setSalesmanId(String salesmanId) {
		this.salesmanId = salesmanId;
	}

	/**
	 * 获取：业务员ID（信用账单）
	 */
	public String getSalesmanId() {
		return salesmanId;
	}

	/**
	 * 设置：回款周期（信用账单）
	 */
	public void setPeriodDay(Integer periodDay) {
		this.periodDay = periodDay;
	}

	/**
	 * 获取：回款周期（信用账单）
	 */
	public Integer getPeriodDay() {
		return periodDay;
	}

	//扩展属性---------------------------------------------

	//挂账客户
	 @TableField(exist = false)
	 private Boolean hangsAccountCustomer;

	public Boolean getHangsAccountCustomer() {
		return hangsAccountCustomer;
	}

	public void setHangsAccountCustomer(Boolean hangsAccountCustomer) {
		this.hangsAccountCustomer = hangsAccountCustomer;
	}
	//门店业务员
	@TableField(exist = false)
	private  String merchantsSalesMan;

	public String getMerchantsSalesMan() {
		return merchantsSalesMan;
	}

	public void setMerchantsSalesMan(String merchantsSalesMan) {
		this.merchantsSalesMan = merchantsSalesMan;
	}

	/**
	 * 门店删除状态 0：正常  1：删除
	 */
	@TableField(exist = false)
	private Integer merchantsDel;

	public Integer getMerchantsDel() {
		return merchantsDel;
	}

	public void setMerchantsDel(Integer merchantsDel) {
		this.merchantsDel = merchantsDel;
	}
}